class AddBonusToUser < ActiveRecord::Migration[5.2]
  def change
    add_column :users, :bonus, :decimal, :precision => 10, :scale => 2, :default => 0.0, comment: "分红"
  end
end
